package com.coocaa.ops.common.tool.exception;

import com.coocaa.ops.common.tool.http.HttpCodeEnums;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 *@description
 * @date 2019-07-15 14:37
 */
public class ParamsException extends BaseException {
    /**
     * 输入的参数
     */
    @Setter
    @Getter
    private Map<String, Object> param;

    /**
     * 异常信息
     */
    @Setter
    @Getter
    private String errMsg;

    public ParamsException() {
    }

    @Override
    public HttpCodeEnums getCode() {
        return HttpCodeEnums.OK;
    }

}
